package com.markerhub.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 预警监控表
 * @author zhz
 * @since 2021-9-18 11:38:20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_warn_phone")
@ApiModel(value = "TWarnPhone对象", description = "预警监控表")
public class TWarnPhone implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.ID_WORKER)
    private Long id;

    //告警人手机号
    @ApiModelProperty(value = "告警人手机号")
    @TableField("WARN_PHONE")
    private String warnPhone;

    //告警人角色
    @ApiModelProperty(value = "告警人角色")
    @TableField("WARN_ROLE")
    private String warnRole;

    //告警人姓名
    @ApiModelProperty(value = "告警人姓名")
    @TableField("WARN_NAME")
    private String warnName;

    //告警内容
    @ApiModelProperty(value = "告警内容")
    @TableField("WARN_CONTENT")
    private String warnContent;

    //状态：0 禁用  1 启用
    @ApiModelProperty(value = "状态：0 禁用  1 启用")
    @TableField("WARN_STATE")
    private Integer warnState = 1;


}